package com.book.controller.admin;

import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.book.common.BaseController;
import com.book.entity.BookType;
import com.book.entity.Teacher;
import com.github.drinkjava2.jsqlbox.ActiveRecord;


/**
*
*      用户控制类
*
*/
public class TypeController extends BaseController<BookType> {

	public TypeController() {
		super();
	}

	public ActiveRecord<BookType>  getRecord() {
		return new BookType();
	}
	
	public String  getPKFielName() {
		return "typeId";
	}
	
	@Override
	public String getModule() {
		return "type";
	}

}
